import { http } from '@/utils/http'


export const wfRegisterFindPage = (userId) => {
  return http({
    url: `/wfmanager/wfRegister/findPage?userId=${userId}`,
    method: 'post',
  })
}
export const wfTypeFindPage = () => {
  return http({
    url: "/wfmanager/wfType/findPage",
    method: 'get',
  })
}

export const wfRegisterDelete = (id) => {
  return http({
    url: `/wfmanager/wfRegister/delete/${id}`,
    method: 'post',
  })
}